/*
 * Copyright (c) 2024-present HBIS Digital Technology Co.,Ltd. All rights reserved.
 */
package com.hbisdt.cet.sample.mapper;

import com.hbisdt.cet.sample.entity.dto.CarbonArticleRequest;
import com.hbisdt.cet.sample.entity.po.CarbonArticle;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 碳业务文章表 Mapper 接口
 *
 * @author : 教学示例
 * @version : 1.0
 * @date : 2024-12-10 11:50
 */
@Mapper
public interface CarbonArticleMapper {
    Long insert(CarbonArticle carbonArticle);
    Long updateById(CarbonArticle carbonArticle);
    Long deleteById(Long articleId);
    CarbonArticle selectById(Long articleId);
    List<CarbonArticle> selectAll(CarbonArticleRequest request);
}
